<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Strict//EN">
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>IupGetFocus</title>

<link rel="stylesheet" type="text/css" href="../../style.css">
<style type="text/css">
.style1 {
	text-decoration: underline;
}
</style>
</head>
<body>

<h2>IupGetFocus</h2>
<p>Returns the identifier of the 
  interface element that has the keyboard focus, i.e. the element that will receive keyboard events.</p>
<h3>
Parameters/Return</h3>
<pre>Ihandle* IupGetFocus(void); [in C]
iup.GetFocus() -&gt; <strong>elem</strong>: ihandle [in Lua]</pre>
<p><span class="style1">Returns</span>: the element with focus or NULL if no 
element has the focus.</p>
<h3>See Also</h3>
<p><a href="iupsetfocus.html">IupSetFocus</a></p>
<p>&nbsp;</p>

</body>

</html>
